//
//  MainViewController.h
//  maocuhuiOASystem
//
//  Created by michael on 16/3/20.
//  Copyright © 2016年 czd. All rights reserved.
//

#import <UIKit/UIKit.h>

#import "SDCycleScrollView.h"
#define Screen_Width  [UIScreen mainScreen].bounds.size.width

@interface MainViewController : ViewController<SDCycleScrollViewDelegate,UITableViewDataSource,UITableViewDelegate,EVNCustomSearchBarDelegate,UIScrollViewDelegate>
@property (strong,nonatomic) SDCycleScrollView *topPhotoBoworr;
//- (IBAction)logout:(UIBarButtonItem*)sender;
@property (strong, nonatomic) EVNCustomSearchBar *searchBar;

//@property (nonatomic,strong) UICollectionView *collectionView;
@property(nonatomic,strong)NSMutableArray * dataArray;
@property (nonatomic, strong) UIView *topview;
@property (nonatomic, retain) NSArray *dataList;
@property (nonatomic,retain)NSDictionary *dic;
@property(nonatomic,strong)NSMutableArray * articlelistarray;
@property(nonatomic,strong)NSMutableArray * articledivarray;
@property(nonatomic,strong)NSMutableArray * imagearray;
@property(nonatomic,strong)NSMutableArray * titlearray;
@property(nonatomic,strong)NSMutableArray * mianarray;
@property(nonatomic,strong)NSString * id;
@property(nonatomic,strong)NSArray * allMainPushProductListarray;//主推商品
@property(nonatomic,strong)NSArray * oneLevelCategoryListarray;//主推商品

@property(nonatomic,strong)UIButton *button; //当前页

@property(nonatomic,assign)int currentPage; //当前页
@property (strong, nonatomic)  UITableView *tableView;
@property(nonatomic,assign)int totalCounts; //总条数


@end
